package com.xingyun.kingdee.erp.common.model.param.base;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * @author lingo
 * @version v1.0
 * @date 2020/8/11 11:27
 * @Company www.xyb2b.com
 */
@Setter
@Getter
public class ErpLoginParam {


    private String lcid = "2052";

    @NotBlank(message = "erp账号不能为空")
    @ApiModelProperty("erp账号")
    private String username;

    @ApiModelProperty("erp密码")
    @NotBlank(message = "erp密码不能为空")
    private String password;

    @ApiModelProperty("数据中心编码")
    @NotBlank(message = "数据中心编码不能为空")
    private String acctId;

    @Override
    public String toString() {
        return "ErpLoginParam{" +
                "lcid='" + lcid + '\'' +
                ", username='" + username + '\'' +
                ", acctId='" + acctId + '\'' +
                '}';
    }
}
